How to prevent NullPointerException in Java

welcome to shbcf.ru